package com.mystudyspring.studySpringBoot.util;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * api
 *
 * @author lix
 * @create 2018-03-23 10:30
 */
@Configuration
public class ApiLogConfiguration extends WebMvcConfigurerAdapter{

    @Override
    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new ApiLogInterceptor()).addPathPatterns("/**");
    }
}
